<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta charset="utf-8" />
		<link rel="stylesheet" type="text/css" href="css/main.css"/>
		<link rel="shortcut icon" href="img/logo.png"/>
		<title>Pudron Standard Modules</title>
	</head>
	<body>
		<header>
			<img src="img/doc.png" width="895px" height="108px"/>
		</header>
		<div class="content">
			<nav>
				<ul class="left_nav">
					<li><a href="#say">Description</a></li>
					<li><a href="#error">error</a></li>
					<li><a href="#math">math</a></li>
				</ul>
			</nav>
			<section>
				<h1><a id="say">Pudron Standard Modules/a></h1>
				<p>This document explains the usage of each Pudron standard module. Remember to add the code <code>import standard module name;</code> before using the standard module.</p>
				<hr/>
				<h2><a id="error">error</a></h2>
				<p>This module is used to provide exception handling ID.</p>
				<h3>Integer ID provided</h3>
				<ul>
					<li>ERROR_INDEX:Index exception, commonly used in subscript</li>
					<li>ERROR_CALCULATION:Calculation exception</li>
					<li>ERROR_FILE:File operation exception</li>
					<li>ERROR_ARGUMENT:Incoming parameter exception</li>
					<li>ERROR_MEMORY:Memory exception</li>
				</ul>
				<hr/>
				<h2><a id="math">math</a></h2>
				<p>This module integrates commonly used mathematical operations functions</p>
				<h3>Functions(the return value is 'double',parameter can be 'int' or 'double')</h3>
				<ul>
					<li><code>sqrt(a)</code>:Calculate the root of a</li>
					<li><code>pow(a,b)</code>:Calculate the b-th power of a</li>
					<li><code>acos(a)</code>:Compute the arc cosine of a</li>
					<li><code>asin(a)</code>:Calculate the arcsine of a</li>
                    <li><code>atan(a)</code>:Calculate the arctangent of a</li>
                    <li><code>atan2(a,b)</code>:Calculate the arc tangent of a /b</li>
                    <li><code>cos(a)</code>:Compute the cosine of a</li>
                    <li><code>cosh(a)</code>:Compute the hyperbolic cosine of a</li>
                    <li><code>sin(a)</code>:Calculate the sine of a</li>
                    <li><code>sinh(a)</code>:Calculate the hyperbolic sine of a</li>
                    <li><code>tan(a)</code>:Calculate the tangent of a</li>
                    <li><code>tanh(a)</code>:Calculate the hyperbolic tangent of a</li>
                    <li><code>exp(a)</code>:Compute e to the power of a</li>
                    <li><code>log(a)</code>:Calculate the logarithm of a</li>
                    <li><code>log10(a)</code>:Calculate the logarithm of base 10</li>
                    <li><code>ceil(a)</code>:Calculate the smallest integer value greater than or equal to a</li>
                    <li><code>fabs(a)</code>:Calculate the absolute value of a</li>
                    <li><code>floor(a)</code>:Calculate the largest integer value less than or equal to a</li>
                    <li><code>fmod(a,b)</code>:Calculate the remainder of a divided by b</li>
				</ul>
			</section>
		</div>
	</body>
</html>
